Skip to content

Comments

Disable tools for non-admins#153

Open
emyhrberg wants to merge 2 commits intoScalarVector1:masterfrom
emyhrberg:FixDLAdminCommand
Open

Disable tools for non-admins#153
emyhrberg wants to merge 2 commits intoScalarVector1:masterfrom
emyhrberg:FixDLAdminCommand

Conversation

@emyhrberg
Copy link
Contributor

@emyhrberg emyhrberg commented Dec 12, 2025

Fixed 2 bugs:

  1. Added so all UIStates are no longer visible or updated for non-admins. Previously tools would still be visible to non-admins.
  2. Added so the dladmin command actually works. Previously it would toggle admin for all players because the packet sending was incorrect so it would always toggle the local player instead of the target player to toggle admin for.

Files changed:

  • UILoader
  • PermissionHandler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant